package com.example.voluntary;

import com.example.upload.config.DefaultFeignConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@MapperScan("com.example.voluntary.mapper")
@EnableFeignClients(basePackages = {"com.example.user.api.client","com.example.upload.api"},defaultConfiguration = DefaultFeignConfig.class)
@SpringBootApplication
public class VoluntaryApplication {
    public static void main(String[] args) {
        SpringApplication.run(VoluntaryApplication.class, args);
    }
}
